<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Thinker-MD</title>
</head>
<body>

<textarea name="content" data-provide="markdown" placeholder="这里输入内容,支持Markdown语法." ></textarea>

<style type="text/css">
    @import "public/stylesheets/vendor/markdown.css";
    @import "public/stylesheets/vendor/font-awesome.css";
    @import "public/stylesheets/vendor/tomorrow.css";
    @import "public/stylesheets/vendor/perfect-scrollbar.min.css";
</style>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/jquery/jquery-2.1.3.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/perfect-scrollbar/perfect-scrollbar.jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/highlight/highlight.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/he.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/marked.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/to-markdown.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/jsHtmlToText.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/tab.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/config.js"></script>
<script type="text/javascript" charset="utf-8" src="public/javascripts/vendor/markdown/bootstrap-markdown.js"></script>

<script type="text/javascript" charset="utf-8"
        src="public/javascripts/vendor/markdown/locale/bootstrap-markdown.zh.js"></script>
<script>
    $("textarea[data-provide='markdown']").markdown({
        language: 'zh',
        fullscreen: {
            enable: true
        },
        resize: 'vertical',
        iconlibrary: 'fa',
        resize: 'none',
        localStorage: 'md',
        height: 500,
        width: "50em",
        imgurl: 'php/ajaxUpload.php',
        base64url: 'php/base64Upload.php'
    });
    
</script>
</body>
</html>